'use strict';
//关联数据库
const db = uniCloud.database();
exports.main = async (event, context) => {	
	//关联表
	const merchant = db.collection("merchant");
	//查找
	let res = await merchant.where(event).get({
		getCount:true
	})
	return res;
};
